package com.imut.hcdp.common;

import org.springframework.stereotype.Component;

import java.util.Arrays;
import java.util.Collection;


@Component
public class LoginProperties {

    /**
     * 开放接口，不需要登陆
     * @return
     */
    public Collection<String> getFilterExcludeUrl() {
        return Arrays.asList("/captchaImage","/consumerLogin","/alipay/pay","/alipay/notify");
    }

    /**
     * 需要拦截的接口
     * @return
     */
    public Collection<Object> getFilterIncludeUrl() {
        return Arrays.asList("/*");
    }
}
